// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick' /* 解决点击事件0.3s延迟问题 */
import VueAwesomeSwiper from 'vue-awesome-swiper' /* 轮播插件 */
import store from './store'
// require styles
import 'swiper/dist/css/swiper.css'
import 'styles/reset.css' /* 初始化所有手机样式 */
import 'styles/border.css' /* 解决1px边框问题 */
import 'styles/iconfont.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router, /* ===router : router */
  store, /* ===store : store */
  components: { App },
  template: '<App/>'
})
